const express = require("express");
const app = express();
const apiRouter = require("./router");
const cors = require("cors");
app.use(cors());
app.use(express.urlencoded({ extended: false }));
app.use("/api", apiRouter);
app.listen(80, () => {
  console.log("Server is running on port http://127.0.0.1");
});
